/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package facade;

import entity.User2;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author lab1
 */
@Remote
public interface User2FacadeRemote {

    void create(User2 user2);

    void edit(User2 user2);

    void remove(User2 user2);

    User2 find(Object id);

    List<User2> findAll();

    List<User2> findRange(int[] range);

    int count();

    boolean login(User2 us);

}
